<%@ include file="/common/include.jsp"%>
<%@ page contentType="text/html; charset=utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<jsp:include page="../../../common/head.jsp">
			<jsp:param name="_useCalendar" value="true"/>
			<jsp:param name="_useUpload" value="true"/>
		</jsp:include>
		<title>查看发信箱信息</title>
		<script language="javascript">
			//当前页不显示消息通知
			_doNotShowMessageNotice = true;	
			function goBack()
			{
				window.location.href="listSendMessage.do";
			}
		</script>
	</head>
	<body>
<w:ShowTitle name="已发送消息查看">
	<w:TitleButton funcName="返回" onClickFunction="goBack()" urlImg="${ctx}/images/main/back.png" funcType="link" />
</w:ShowTitle>
		<form action="addMessage.do" name="form1" method="post">
			<div id="body_div">
				<div id="body_content">
					<table width="100%">
						<tr>
							<td class="right_align">
								接收人<br/>
							</td>
							<td class="left_align">
							
							<table width="240" id="receiver">
								<tr>
									<td class="td_title">用户id</td>
									<td class="td_title">用户姓名</td>
									<td class="td_title">状态</td>
								</tr>
								<c:forEach items="${datalist}" var="obj">
								<tr>
									<td class="center_align">${obj.receiveUserId}</td>
									<td class="center_align">${obj.readUserName}</td>
									<td class="center_align">${obj.receiveState}</td>
								</tr>
								</c:forEach>
							</table>
							</td>
						</tr>
						<tr>
							<td class="right_align">
								消息标题
							</td>
							<td class="left_align">
								${sysMessage.messageTitle}
							</td>
						</tr>
						<tr>
							<td class="right_align">
								录入日期
							</td>
							<td class="left_align">
								<fmt:formatDate value="${sysMessage.createDate}" pattern="yyyy-MM-dd"/>
							</td>
						</tr>
						<tr>
							<td class="right_align">
								消息内容
							</td>
							<td colspan="3" class="left_align">
								${sysMessage.messageContent}
							</td>
						</tr>
						<tr>
							<td class="right_align">
								备注
							</td>
							<td colspan="3" class="left_align">
								${sysMessage.remark}
							</td>
						</tr>
						<tr>
							<td class="right_align">
								附件
							</td>
							<td colspan="3" class="left_align">
								<w:uploadFile isList="true" isAdd="false" beanName="sysMessage" belongId="${sysMessage.messageId}" allowDeletions="false" folder="sysMessage"></w:uploadFile>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</form>
	</body>
</html>
